package com.top.art.bo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * The type User bo.
 *
 * @author hjh
 * @version 2020 /10/4-19:12
 */
@Data
public class UserBO {

    @NotBlank(message = "角色不能为空")
    private String role;

    private List<String> provinces;
    @NotBlank(message = "用户名不能为空")
    private String name;
    @NotBlank(message = "用户账号不能为空")
    private String account;
    @NotBlank(message = "密码不能为空")
    private String password;
    private List<String> courses;
}
